package com.zeldu.teacher.homework.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zeldu.teacher.homework.entity.Question;
import org.apache.ibatis.annotations.Param;
import org.apache.logging.log4j.core.tools.picocli.CommandLine;

import java.util.List;

public interface QuestionMapper extends BaseMapper<Question>{

    public List<Question> findAllQuestion(Long tid);

    public String findQuestion(Long tid);


    public List<Question> findExQuestions( @Param("cids") List<Long>cids,@Param("tid")Long tid);
}
